<?php
/**
 * Created by PhpStorm.
 * User: 秋枫雁飞
 * Date: 2019/3/27
 * Time: 15:34
 */

namespace Aiweline\Core\Helper;

use Magento\Framework\UrlInterface;
/**
 * url管理器
 */
class Url extends \Magento\Framework\App\Helper\AbstractHelper
{
	/**
	 * [getMediaPath 获取媒体路径]
	 * @return string [返回url字符串]
	 */
    public function getMediaPath()
    {
        return $this->_urlBuilder->getBaseUrl(['_type' => UrlInterface::URL_TYPE_MEDIA]);
    }
}